package cn.itcast;

import org.junit.Test;

public class Demo1 {
	@Test
	public void fun1() {
		AA3<Long> aa3 = new AA3<Long>();
	}
}

class A<T> {
	private T t;
	
	public T fun1() {
		return t;
	}
	
	public void fun2(T t) {
		this.t = t;
	}
}

class AA1 extends A<Integer> {
	
}

class AA2 extends A<String> {
	
}

class AA3<E> extends A<E> {
	
}